public EquivalencyOptions<TExpectation> WithMapping( string expectationMemberPath, string subjectMemberPath )
Parameters
- expectationMemberPath
- A field or property path indicating the (nested) member to map from in the format
Parent.Child.Collection[].Member
. - subjectMemberPath
- A field or property path indicating the (nested) member to map to in the format
Parent.Child.Collection[].Member
.